package com.coldworks.coldjoke.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.TextView;

import com.coldworks.base.BaseActivity;
import com.coldworks.base.manager.BaseConfManager;
import com.coldworks.coldjoke.R;

public class AboutActivity extends BaseActivity {

	// private TextView versionName;
	private ImageButton backBtn;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		try {
			setContentView(R.layout.activity_about);
			initViews();
			// versionName.setText(getResources().getString(R.string.version)
			// + " "
			// + BaseConfManager.getInstance().getVersionName(context));
		} catch (Exception e) {
			log.error("", e);
		}
	}

	private void initViews() {
		// versionName = (TextView) findViewById(R.id.versionName);
		backBtn = (ImageButton) findViewById(R.id.button_back);
		backBtn.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				finish();
			}
		});
	}

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
	}

	@Override
	protected void onResume() {
		// TODO Auto-generated method stub
		super.onResume();
	}

	@Override
	protected void onStop() {
		// TODO Auto-generated method stub
		super.onStop();
	}

}
